package com.zr.legalperson.service;

import com.zr.legalperson.model.LegalPerson;
import com.zr.legalperson.model.Plant;
import com.zr.legalperson.model.PlantSelectVo;
import com.zr.legalperson.model.vo.PlantAddVo;
import com.zr.legalperson.model.vo.PlantResultVo;
import com.zr.legalperson.model.vo.PlantUpdateStatusVo;
import com.zr.legalperson.model.vo.PlantUpdateVo;
import com.zr.util.AllRecords;
import com.zr.util.ResultVO;

import javax.validation.Valid;
import java.util.List;

/**
 * Created by Administrator on 2019/1/3.
 */
public interface LegalPersonService {
    ResultVO<List<LegalPerson>> legalPersonDropDownValue();

    ResultVO<AllRecords> legalPlantQuery(PlantSelectVo plantSelectVo);

    ResultVO<PlantAddVo> legalPlantAdd(PlantAddVo plantAddVo);

    ResultVO<PlantUpdateStatusVo> legalPlantUpdatestatus(@Valid PlantUpdateStatusVo updateStatusVo);

    ResultVO<PlantUpdateVo> legalPlantUpdate(@Valid PlantUpdateVo plantUpdateVo);
}
